a349db3ece98df2ed2ee2cdeb145289687a3e505,modules/apps/document-library/document-library-web/src/com/liferay/document/library/web/display/context/logic/UIItemsBuilder.java,UIItemsBuilder,addCheckinMenuItem,#List#,124

Before Change


		_addURLUIItem(
			new URLMenuItem(), menuItems, "icon-lock", DLUIItemKeys.CHECKIN,
			"checkin",
			_getActionURL(
				"/document_library/edit_file_entry", Constants.CHECKIN));
	}

	public void addCheckinToolbarItem(List<ToolbarItem> toolbarItems)

After Change


			return;
		}

		PortletURL portletURL = _getActionURL(
			"/document_library/edit_file_entry", Constants.CHECKIN);

		_addURLUIItem(
			new URLMenuItem(), menuItems, "icon-lock", DLUIItemKeys.CHECKIN,
			"checkin", portletURL.toString());
	}

	public void addCheckinToolbarItem(List<ToolbarItem> toolbarItems)